package com.echo.model;

import com.activeandroid.Model;
import com.activeandroid.annotation.Column;
import com.activeandroid.annotation.Table;
import com.echo.util.ActiveAndroidStrategy;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;

/**
 * Created by EchoGe on 2016/6/10.
 */
@Table(name="sport_point")
public class SportPoint extends Model{
    @Column(name="_id",unique = true,notNull = false,onUniqueConflict = Column.ConflictAction.REPLACE)
    private long id;
    @Column(name="user_id")
    private long userId;
    @Column(name="sport")
    private long sport;
    @Column(name="var1")
    private float var1;
    @Column(name="var2")
    private float var2;

    public long getSport() {
        return sport;
    }

    public void setSport(long sport) {
        this.sport = sport;
    }

    public long get_Id() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public float getVar1() {
        return var1;
    }

    public void setVar1(float var1) {
        this.var1 = var1;
    }

    public float getVar2() {
        return var2;
    }

    public void setVar2(float var2) {
        this.var2 = var2;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }
}
